package com.car.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class CarInfo implements Serializable {
    private String id;

    private String carVin;//汽车vin码 每一个码都不保持一致

    private String carName;//汽车名称

    private String carBasic;//基本信息
    private BasicInfo basicInfo;//基本信息

    private String carSize;//车身尺寸
    private SizeInfo sizeInfo;//大小

    private String carDynamical;//动力系统

    private String carUnderpan;//底盘制动

    private String carAfety;//安全配置

    private String carDriving;//驾驶辅助

    private String carExternal;//外部配置

    private String carInterior;//内部配置

    private String carSeat;//座椅配置

    private Integer carStuta;//0正常,1异常,2损害

    private String carMileage;//车辆行驶里程数

    private String carYl;//信息娱乐

    private String userId;//用户id

    private String track;//车辆行驶轨迹

    private Date createDate;//创建时间

    private Date updateDate;//修改时间
    private List<CellPack> cellPacks;//多个电池

    public List<CellPack> getCellPacks() {
        return cellPacks;
    }

    public void setCellPacks(List<CellPack> cellPacks) {
        this.cellPacks = cellPacks;
    }

    @Override
    public String toString() {
        return "CarInfo{" +
                "id='" + id + '\'' +
                ", carVin='" + carVin + '\'' +
                ", carName='" + carName + '\'' +
                ", carBasic='" + carBasic + '\'' +
                ", basicInfo=" + basicInfo +
                ", carSize='" + carSize + '\'' +
                ", sizeInfo=" + sizeInfo +
                ", carDynamical='" + carDynamical + '\'' +
                ", carUnderpan='" + carUnderpan + '\'' +
                ", carAfety='" + carAfety + '\'' +
                ", carDriving='" + carDriving + '\'' +
                ", carExternal='" + carExternal + '\'' +
                ", carInterior='" + carInterior + '\'' +
                ", carSeat='" + carSeat + '\'' +
                ", carStuta=" + carStuta +
                ", carMileage='" + carMileage + '\'' +
                ", carYl='" + carYl + '\'' +
                ", userId='" + userId + '\'' +
                ", track='" + track + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", cellPacks=" + cellPacks +
                '}';
    }

    public BasicInfo getBasicInfo() {
        return basicInfo;
    }

    public void setBasicInfo(BasicInfo basicInfo) {
        this.basicInfo = basicInfo;
    }

    public SizeInfo getSizeInfo() {
        return sizeInfo;
    }

    public void setSizeInfo(SizeInfo sizeInfo) {
        this.sizeInfo = sizeInfo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCarVin() {
        return carVin;
    }

    public void setCarVin(String carVin) {
        this.carVin = carVin;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public String getCarBasic() {
        return carBasic;
    }

    public void setCarBasic(String carBasic) {
        this.carBasic = carBasic;
    }

    public String getCarSize() {
        return carSize;
    }

    public void setCarSize(String carSize) {
        this.carSize = carSize;
    }

    public String getCarDynamical() {
        return carDynamical;
    }

    public void setCarDynamical(String carDynamical) {
        this.carDynamical = carDynamical;
    }

    public String getCarUnderpan() {
        return carUnderpan;
    }

    public void setCarUnderpan(String carUnderpan) {
        this.carUnderpan = carUnderpan;
    }

    public String getCarAfety() {
        return carAfety;
    }

    public void setCarAfety(String carAfety) {
        this.carAfety = carAfety;
    }

    public String getCarDriving() {
        return carDriving;
    }

    public void setCarDriving(String carDriving) {
        this.carDriving = carDriving;
    }

    public String getCarExternal() {
        return carExternal;
    }

    public void setCarExternal(String carExternal) {
        this.carExternal = carExternal;
    }

    public String getCarInterior() {
        return carInterior;
    }

    public void setCarInterior(String carInterior) {
        this.carInterior = carInterior;
    }

    public String getCarSeat() {
        return carSeat;
    }

    public void setCarSeat(String carSeat) {
        this.carSeat = carSeat;
    }

    public Integer getCarStuta() {
        return carStuta;
    }

    public void setCarStuta(Integer carStuta) {
        this.carStuta = carStuta;
    }

    public String getCarMileage() {
        return carMileage;
    }

    public void setCarMileage(String carMileage) {
        this.carMileage = carMileage;
    }

    public String getCarYl() {
        return carYl;
    }

    public void setCarYl(String carYl) {
        this.carYl = carYl;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTrack() {
        return track;
    }

    public void setTrack(String track) {
        this.track = track;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}